public class Bottom extends ClothingItem {
    String length;
    boolean isOpen;

    Bottom() {

    }

    Bottom(String fileName) {

    }

    @Override
    void printInformation() {
        super.printInformation();
        System.out.println("\n\n");
        System.out.println("-- Specific information --");
        System.out.println("\nLength: " + this.length);
        System.out.println("\nOpen: " + this.isOpen);
    }

    boolean isDirty() {
        boolean value = false;

        if (super.wears > 1) {
            value = true;
        }

        return value;
    }

    // / Setters for the superclass
    void setBrand(String brand) {
        super.brand = brand;
    }

    void setColor(String color) {
        super.color = color;
    }

    void setSize(String size) {
        super.size = size;
    }

    void setMaterial(String material) {
        super.material = material;
    }

    void setShortType(String shortType) {
        super.shortType = shortType;
    }

    void setShortColor(String shortColor) {
        super.shortColor = shortColor;
    }

    void setIdNumber(int idNumber) {
        super.idNumber = idNumber;
    }

    void setMinimumTemperature(int minimumTemperature) {
        super.minimumTemperature = minimumTemperature;
    }

    void setWears(int wears) {
        super.wears = wears;
    }

    void setFormality(int formality) {
        super.formality = formality;
    }

    // / Setters for this class
    void setLength(String length) {
        this.length = length;
    }

    void setIsOpen(boolean isOpen) {
        this.isOpen = isOpen;
    }
}
